import {useState} from 'react'
import Login from '../components/login/Login'
import {Modal, Button} from 'react-bootstrap'

function LoginDemo() {
  const [show, setShow] = useState(false);

  const handleClose = () => setShow(false);
  const handleShow = () => setShow(true);
  return (
    <>
      <h1>login demo</h1>
      <Button variant="primary" onClick={handleShow}>
        Launch demo modal
      </Button>

      <Modal show={show} onHide={handleClose}>
        <Login />
      </Modal>
    </>
  )
}

export default LoginDemo
